package com.cqjtu.store.admin.pojo.DTO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "管理员登录信息",description = "管理员登录信息")
public class AdminLoginDTO {
    @NotBlank
    @ApiModelProperty(value = "用户名",name = "username",example = "rose",required = true)
    private String username;
    @NotBlank
    @ApiModelProperty(value = "密码",name = "password",example = "123456",required = true)
    private String password;
}